package com.yihaodian.search.query;

import org.apache.lucene.search.Filter;

import com.yihaodian.search.SearchContext;
import com.yihaodian.search.query.converter.RangeFilterConvert;

public class FilterBuilder {
	public void handle(SearchContext context){
		Filter filter = RangeFilterConvert.convert(context.getShardRequest().
				getSearchRequest().getFilter());
		context.setFilter(filter);
	}
}
